﻿body,html {
  /* 全屏布局 必须属性 */
  height: 100%;
  background-color: #fff;
}

ul,
ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lt-layout {
  min-width: 320px;
  max-width: 640px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

// 头部
.lt-header {
  height: 45px;
  background-color: #069;
  display: flex;
  justify-content:space-between;

  a {
    color: #fff;
    padding: 10px;
  }

  p {
    font-size: 22px;
    color: #fff;
    line-height: 45px;
  }

}

// 主体
.lt-main {
  flex: 1;
  position: relative;

  .lt-nav {
    padding: 5px;
    ul {
      li{
        float: left;
        width: 33.33%;

        img {
          width: 100%;
          display: block;
        }
      }
    }
  }

  .lt-produ {
    padding: 8px;
    display: flex;
    //换行
    flex-wrap: wrap;
    justify-content: space-between;

    .item {
      padding: 8px;
      text-align: center;
      width: 48%;
      box-shadow: 1px 1px 6px #000;
      border: 1px solid #cccccc;
      margin-bottom: 10px;
      img {
        width: 100%;
      }
      .new {
        color: #b92c28;
      }
      .old {
        text-decoration-line: line-through;
      }
    }
  }

}

// 底部
.lt-footer {
  height: 55px;
  background-color: #069;
  ul {
    display: flex;
    li {
      flex: 1;
      text-align: center;
      padding-top: 8px;
      a {
        color: #fff;
        p {
          color: #fff;
          margin: 0px;
        }
      }
    }
    li.current {
      a,
      p {
        color: #daa520;
      }
    }
  }
}
